<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="./css/index.css" />
  </head>
  <body>
    <div id="pagercontainer" class="pagercontianer"></div>
    <script src="./js/index.js"></script>
    <script>
      var pagercontainer = document.getElementById("pagercontainer");
      // 1. 当前页码  2. 总页码数 3. 中间的分页项目的个数 4. 放入哪个容器
      createPager(
        {
          page: 13,
          pageNumber: 50,
          mostNumber: 10,
        },
        pagercontainer
      );
    </script>
  </body>
</html>
